@ECHO OFF
REM Begin to create the exported subdomain database.
REM It will clone the system database and subdomain service database.

REM Database [db0326032218] will be created.
mysql -uroot -ptoor < export-scripts.sql

REM Backup the final dump.
mysqldump -uroot -ptoor db0326032218 > db0326032218.dmp

REM Empty the database after taking a backup using a temp database
REM mysql -uroot -ptoor -s "DROP DATABASE IF EXISTS db0326032218;"

PAUSE
EXIT
